<%--
  Created by IntelliJ IDEA.
  User: !
  Date: 2021/7/17
  Time: 15:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>Title</title>
    <style>
        .a1{
            width: 500px;
            height: 500px;
        }
    </style>
</head>
<body>
    <h1>学生查询</h1>
    <table border="1" cellspacing="0" cellpadding="0" class="a1">
        <tr>
            <td>学生id</td>
            <td>学生姓名</td>
            <td>学生密码</td>
        </tr>
    <c:forEach items="${list}" var="obj">
        <tr>
            <td>${obj.stid}</td>
            <td>${obj.stname}</td>
            <td>${obj.stpass}</td>
        </tr>
    </c:forEach>
    </table>
</body>
</html>
